/*-
 * Copyright (C) 2018-2020, Shanghai Trusted Industry Control Platform Co., Ltd.
 * Created by 周正辉 (Zhenghui Zhou) <zhouzhenghui@ticpsh.com>, 赵楷文 (Kaiwen
 * Zhao) <zhaokaiwen@ticpsh.com>
 */

#ifndef LIBTESTUDT_H
#define LIBTESTUDT_H

#include <clang/Tooling/CompilationDatabase.h>

#include <boost/filesystem.hpp>
#include <nlohmann/json.hpp>
#include <string>
#include <vector>

#include "share/analyze_setting.h"

namespace rocket {
namespace testif {
void parse_udtype_interfaces(
    const clang::tooling::CompilationDatabase &compilations,
    const std::vector<std::string> &files, nlohmann::json &parsed_if,
    nlohmann::json &udspecs, std::vector<std::string> &udspecids,
    const share::RocketAnalyzeSetting &setting);
}  // namespace testif
}  // namespace rocket
#endif  // LIBTESTUDT_H
